package com.example.friend.service;

import com.example.core.domain.TableDataInfo;
import com.example.friend.domain.Exam;
import com.example.friend.domain.dto.ExamDTO;
import com.example.friend.domain.dto.ExamQuestionDTO;
import com.example.friend.domain.vo.ExamBaseInfo;

public interface IExamService {

    TableDataInfo list(ExamDTO examDTO);

//    List<?> redisList(ExamQueryDTO examQueryDTO);

    Exam getById(Long examId);

    int submit(Long examId);

    TableDataInfo selectHistoryExamList(ExamDTO searchDTO);

    TableDataInfo examQuestionList(ExamQuestionDTO examQuestionDTO);


    TableDataInfo rankList(ExamDTO examDTO);

    ExamBaseInfo baseInfo(Long examId);
}
